package com.hightrast.service.api.domain.qo.rastProducts;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode
@ApiModel(value="修改商品信息")
public class UpdateProductQo {

    @ApiModelProperty(value = "商品id")
    @NotNull(message = "The product ID cannot be empty")
    private Long productId;

    @ApiModelProperty(value = "变体id")
    @NotNull(message = "Variant ID cannot be empty")
    private Long variableId;

    @ApiModelProperty(value = "商品佣金率")
    private BigDecimal commissonRate;

    @ApiModelProperty(value = "商品成本")
    private BigDecimal sampleCost;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
}
